<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    function foo1(){
        var foo1;
        function foo1(){}
    }



    foo1();
</script>
</body>
</html>